package com;

public class TestSwitch {

	public static void main(String[] args) {
		String ch = "ACBDEFGHIJ";
		System.out.println(ch.substring(0,7));
        switch (ch.charAt(0)) {
        case 'B':
            System.out.println("case one");
            break;
        case 'A':
            System.out.println("case two");
            break;
        case 'C':
            System.out.println("case three");
            break;
        }
	}
}
